package g.m.springcloud.service.impl;

import g.m.springcloud.dao.UserDao;
import g.m.springcloud.entities.User;
import g.m.springcloud.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImpl implements UserService {

    @Resource
    private UserDao userDao;

    @Override
    public void delete(Integer id) {
        userDao.delete(id);
    }
}
